package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.JobType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.jobType.JobTypeAddReqDTO;
import com.yixin.hospital.entity.dto.req.jobType.JobTypeEditReqDTO;

import javax.validation.Valid;

/**
* @author 
* @description 针对表【job_type(工作类型表)】的数据库操作Service
* @createDate 2024-03-28 21:37:13
*/
public interface JobTypeService extends IService<JobType> {

    ApiResult add(@Valid JobTypeAddReqDTO jobTypeAddReqDTO, String userName);

    ApiResult edit(@Valid JobTypeEditReqDTO jobTypeEditReqDTO, String userName);
}
